

package com.zmks.jkgj.xuexiao.controller;




import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


import com.zmks.jkgj.core.controller.ABaseController;
import com.zmks.jkgj.core.resp.Resp;
import com.zmks.jkgj.xuexiao.SessionManager;
import com.zmks.jkgj.xuexiao.pojo.CrctConfigGrade;
import com.zmks.jkgj.xuexiao.resp.WebResp;
import com.zmks.jkgj.xuexiao.service.ICrctConfigGradeService;
import com.zmks.jkgj.xuexiao.service.ICrctObjGradeService;
import com.zmks.jkgj.xuexiao.vo.CrctConfigGradeVO;
import com.zmks.jkgj.xuexiao.vo.CrctObjGradeVO;

@Controller
public class CrctConfigGradeController extends ABaseController {
	  @Autowired
	private ICrctConfigGradeService crctConfigGradeService;

   @RequestMapping("/get_crctConfigGrade_list")
	@ResponseBody
	public Resp get_crctConfigGrade_list(HttpServletRequest request) {
		WebResp 	webResp = new WebResp();
		try{
			
		
	
			CrctConfigGradeVO crctConfigGradeVO=new  CrctConfigGradeVO();
	    webResp.setData(crctConfigGradeService.getList(crctConfigGradeVO));
		} catch (Exception e) {
			e.printStackTrace();
			webResp.setRet(1);
			webResp.setErrcode(0);
			webResp.setMsg("获得失败！");
			return webResp;
		}
	
		return webResp;
	}

}
